
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
	<title>老师主页 - 老师上门</title>
	<!-- <link rel="stylesheet" href="__PUBLIC__/mobile/css/public.css"> -->
	<link rel="stylesheet" href="__PUBLIC__/mobile/css/dangan.css">
	<script type="text/javascript" src="__PUBLIC__/mobile/js/jquery-1.8.3.min.js"></script>
	<script type="text/javascript" src="__PUBLIC__/mobile/js/dangan.js"></script>
	<script type="text/javascript" src="__PUBLIC__/mobile/js/wxd.js"></script>
</head>
<body>
	<div class="info_header">
	    <div class="goback fl" onclick="goback()"><img src="__PUBLIC__/mobile/images/back_button.png" alt="返回"></div>老师主页<div class="top_more fr">
	    </div>
	</div>

	<div class="close_addico"> 
	   <div class="base_info"> 
	    <ul class="lr_info"> 
	     <li class="user_img">
            <?php if (empty($laoshi_info['face'])) { ?>
                <img src="__ROOT__/Uploads/face/man.jpg" alt="头像">
            <?php } else { ?>
                <img src="__ROOT__{$laoshi_info.face}" alt="头像"> 
            <?php } ?>  
	     </li> 
	     <li class="t_meg"> 
	      <dl> 
	       <dd class="user_dd1">
	        <span class="user_mame fl"><?php echo mb_substr($laoshi_info['sfz_name'], 0,1,'UTF-8').'老师' ?></span>
	        <div class="clear"></div>
	       </dd> 
	       <dd class="user_dd3">
	        <span>ID：{$laoshi_info.id}</span>
	        <span>{$laoshi_info.jiaoling}年教龄</span>
	       </dd> 
	       <dd class="user_dd3">
	        <span>
				{$laoshi_info.grades}
	        </span>
	       </dd> 
	      </dl> </li> 
	     <div class="clear"></div> 
	    </ul> 
	    <div class="clear"></div> 

	    <div class="scroll_area">
				<div class="notice_radio">
					<div class="notice_content" id="demo">
						<marquee behavior="" direction="left" class="gundongt">
							<div class="marlist"></div>
  						</marquee>
					</div>
				</div>
			</div>

	    <p>
		    <span class="lsmiaoshu">{$laoshi_info.jianjie|htmlspecialchars_decode|strip_tags|mb_substr=0,30,'utf-8'}</span>
		    <span class="one_more">
		    	<i>...</i>　<a href="javascript:;">查看更多>></a><span style="display: none;">收起>></span>
		    </span>
	    </p> 
	   </div> 
	   <div class="line_between"></div> 
	   <div id="tabs0"> 
	    <ul class="menu0" id="menu0"> 
	     <li class="hover" onclick="setTab(0,0)"> <span class="jj">　</span>老师资料</li> 
	     <li onclick="setTab(0,1)" class=""> <span class="jxjl">　</span>教学记录</li> 
	     <!-- <li onclick="setTab(0,2)" class=""> <span class="pj"></span>家长评价</li>  -->
	     <div class="clear"></div> 
	    </ul> 
	    <div class="main" id="main0"> 
	     <ul class="block" style="display: block;"> 
	      <li> 
	       <dl class="renzheng"> 
	        <dd>
	         <span>平台认证：</span> 
	         <div class="rz_num"> 
				<b>身份认证</b><b>教师资格</b>
				<b>专业资质</b><b>学历认证</b>
			</div>
	         <div class="clear"></div>
	        </dd> 
	        <dd class="nobdb">
	         <span>　课时费：</span>
	         <i>{$laoshi_info.price}</i>元/课时起
	        </dd> 
	       </dl> 
	       <div class="clear"></div> </li> 

		<li> 
	       <dl class="renzheng"> 
	        <dd><span>授课区域：</span>{$laoshi_info.address}</dd> 
	        <dd><span>授课方式：</span>
				<?php foreach ($method_ones as $g) { ?>
                <?php if (strstr($laoshi_info['methods'],$g['id'])) { ?>
                      {$g['method_name']}
                <?php } ?>   
                <?php } ?>
	        <!-- <span>老师上门</span><span>学生上门</span><span>协商地点</span> -->
	        </dd> 
	        <dd><span>教学特点：</span>{$laoshi_info.laoshi_stye}</dd> 
	        <dd><span>擅教学生：</span>{$laoshi_info.stu_stye}</dd> 
	       </dl> 
	       <div class="clear"></div>
	    </li> 
	      <li> 
	       <dl class="renzheng"> 
	        <dd>过往经历</dd> 
	       </dl> 
	        <div class="undergo"> 
	        <span>{$laoshi_info.start_year}年-{$laoshi_info.start_month}月&nbsp;至&nbsp;-{$laoshi_info.stop_year}年-{$laoshi_info.stop_month}月</span> 
	        <p>{$laoshi_info.experience|htmlspecialchars_decode|strip_tags|mb_substr=0,30,'utf-8'}...</p> 
	       </div> 
	       <div class="clear"></div> 
	       </li> 
	      <li> 
	       <dl class="renzheng"><dd>成功案例</dd></dl>
	       <?php foreach ($cases as $c) { ?>
	       <div class="suc_case"> 
	        	<span>{$c.time_year}年 &nbsp;{$c.stu_name} &nbsp;{$c.school}</span> 
	        	<p><?php echo htmlspecialchars_decode($c['result']) ?></p> 
	       </div>	
	       <?php } ?> 
	       <div class="clear"></div> 
	       </li> 
	     </ul> 

	     <ul style="display: none;"> 
	       <div class="record_list"> 
				<li> 
				<div class="clear"></div> 
				<div class="clear"></div> 
			    </li>
	       	</div> 
	       	<div class="clear"></div> 
	     </ul> 
<!-- <ul style="display: none;"> 
<li> 
<div class="p_evaluate" style="margin-bottom: 20px;"> 
<div class="teacher-intro f" style="border:0"> 
<div class="newecne f"> 
<div class="circle">
<p>0%</p>好评率
</div> 
<div class="imo"> 
<div class="f">
<p style="width=0%">好评(<span>0%</span>)</p>
<div class="percet">
<p style="width: 0%">&nbsp;</p>
</div>
</div> 
<div class="f">
<p>中评(<span>0%</span>)</p>
<div class="percet">
<p style="width: 0%;">&nbsp;</p>
</div>
</div> 
<div class="f">
<p>差评(<span>0%</span>)</p>
<div class="percet">
<p style="width: 0%;">&nbsp;</p>
</div>
</div> 
</div> 
<div class="clear"></div> 
</div> 
</div> 
<div class="clear"></div> 
<div class="navecla"> 
<span class="alls active">全部&nbsp;0</span>
<span class="goods">好评&nbsp;0</span>
<span class="mids">中评&nbsp;0</span>
<span class="bads">差评&nbsp;0</span> 
</div> 
<div class="teacher-intro f" data-level="e1"></div>
<div class="teacher-intro f" data-level="e1" style="display: none;"></div>
<div class="teacher-intro f" data-level="e1" style="display: none;"></div>
<div class="teacher-intro f" data-level="e1" style="display: none;"></div> 
</div> 
</li> 
</ul>  -->
	     <div class="clear"></div> 
	     <div class="h5rem"></div> 
	    </div> 
	   </div> 
	   <div style="width:100%;height:4.5rem;"></div> 
	  </div>

		<!-- 底部试听预约 -->
		<?php if ($_SESSION['is_who'] != 'laoshi') { ?>
		<div class="footer-info">
		    </a><a href="tel:18902491208" class="to_kf fl">联系课程顾问</a>
		    <div class="audition fl " onclick="window.location.href='{:U('mobile/index/shike',array('id'=>$laoshi_info['id'],'newcity'=>$city))}'">
		        <p>试听老师课程</p>
		        <p class="tips">免费试听一课时，不需付费</p>
		    </div>
		</div>	
		<?php } ?>
		<!-- 底部试听预约 -->
</body>
<script type="text/javascript">

function goback() {
	history.go(-1);
}
 


$('.navecla span').click(function(){
	var index = $(this).index();
	$(this).addClass('active').siblings().removeClass('active');
	$('.teacher-intro.f').eq(index+1).show().siblings('.teacher-intro.f').hide();
});

$(function(){
	var marsize = $('.notice_details').size();
	var marw = 0;
	for(var i=0;i<marsize;i++){
		marw += $('.notice_details').eq(i).width();
	}
	$('.marlist').width(marw+200);
});
</script>
</html>